package com.yunying.rispro.controller;


import com.yunying.rispro.service.IDiagnoseService;
import com.yunying.rispro.service.IExamineService;
import com.yunying.rispro.service.IPatientsService;
import com.yunying.rispro.util.JsonResponseBody;
import com.yunying.rispro.util.PageBean;
import com.yunying.rispro.vo.RisVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 诊断信息表 前端控制器
 * </p>
 *
 * @author yunying
 * @since 2022-04-21
 */
@RestController
@RequestMapping("/diagnose")
public class DiagnoseController {

    @Autowired
    private IDiagnoseService diagnoseService;

    @RequestMapping("/queryHisPager")
    @ResponseBody
    public JsonResponseBody<List<Map<String,Object>>> queryRisPager(RisVo risVo, PageBean pageBean){

        return diagnoseService.queryHisPager(risVo,pageBean);
    }

}
